The DailyComics Program uses the Mozilla ActiveX control to interface with Mozilla.  This source code WILL NOT work in Delphi if you don't follow the steps below.  It may also be noted that I did all my development in Delphi 7, but this source code has been verified to work with Delphi 6.  I don't know if it will work in older versions.  You also need to install the Indy Internet components, available for free from http://www.nevrona.com/Indy/ (unless you want to modify it to use some other http.get function).

I got these directions from this website: http://www.iol.ie/~locka/mozilla/mozilla.htm  Thanks Adam Lock!  It should also be noted that if you want to use the compiled version of Daily comics you have to at least register the control, as described in the first part of these directions.

You must first install the control on your system:

   1. Install or build mozilla (or Netscape)
   2. Open a DOS prompt, change to your Mozilla bin directory (e.g. "cd c:\mozilla\bin")
   3. Type "regsvr32 mozctlx.dll"

Note that building Mozilla will usually register the control for you unless you have set MOZ_NO_ACTIVEX_REGISTRATION to disable this behaviour.

If regsvr32.exe is not in you path use the "Find Files..." facility of 95/98/NT to locate it and run it using its full path.

Do not register mozctl.dll! The new mozctlx.dll now contains all the PATH fixup magic that ensures the control works correctly.

To use the control from Delphi:

    * Follow the steps to install and register the Mozilla control on your system
    * Select "Import Type Library" from Delphi's Project menu
    * Choose "MozillaControl" in the type library list and click OK
    * Delphi's ActiveX VCL toolbar should now contain a "MozillaBrowser" component 

You can now drop the MozillaBrowser control onto a Delphi form.